<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('印章使用申请单打印')" />
	<style type="text/css">
	body {
			overflow-x: auto;
		}
		table {
			font-size: 12px;
			font-weight:500;
			font-family: 线体;
			margin: auto;
	    	border-collapse: collapse;
		}
	    table, tr, td{
		    text-align: center;
		    width: 1100px;
		    height: 40px;
		}
		.items td{ height:30px; border: 1px solid black;}
		
		@media print{
		   body {
		       height: auto !important;
		   }
		}
	</style>
</head>
<body class="white-bg">
    <table style="margin-top: 0px;">
		<!-- 打印网页时通过hidden-print隐藏元素 -->
	    <div class="text-right hidden-print">
	        <button class="btn btn-primary" onclick="printPage()"><i class="fa fa-print"></i> 打印</button>
	    </div>
	    <tr>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 20%">&nbsp;</td>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 20%">&nbsp;</td>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 20%">&nbsp;</td>
		</tr>
	    <tr style="height: 60px;">
			<td ><img style="height: 30px" src="/ruoyi.png"></td>
			<td colspan="5" style="font-size: 25px;font-family: 线体;font-weight:500;">湖北鄂能电力建设有限公司-印章使用申请单</td>
		</tr>
	</table>
	<table class="items">
		<tr>
			<td style="width: 10%"><b>文件名称</b></td>
			<td style="width: 20%" th:text="${obj.name}">&nbsp;</td>
			<td style="width: 10%"><b>报送单位</b></td>
			<td style="width: 20%" th:text="${obj.bsdw}">&nbsp;</td>
			<td style="width: 10%"><b>申请人</b></td>
			<td style="width: 20%" th:text="${obj.sqr}">&nbsp;</td>
		</tr>
		<tr>
			<td ><b>印章类型</b></td>
			<td th:text="${obj.type}">&nbsp;</td>
			<td ><b>用印数量</b></td>
			<td th:text="${obj.shul}">&nbsp;</td>
			<td ><b>申请日期</b></td>
			<td th:text="${#dates.format(obj.riq, 'yyyy-MM-dd')}">&nbsp;</td>
		</tr>
		<tr>
			<td  rowspan="3"><b>申请使用事由</b></td>
			<td colspan="5" th:text="${obj.descs}">&nbsp;</td>
		</tr>
		<tr>
			<td colspan="5" >&nbsp;</td>
		</tr>
		<tr>
			<td colspan="5" >&nbsp;</td>
		</tr>
	</table>
	<table style="margin-top: 15px;">
		<tr>
			<td colspan="2" style="width: 22%;text-align: left;"><b>申请人：</b><span th:text="${obj.jbr}"></span></td>
			<td colspan="2" style="width: 14%;text-align: left;"><b>审批人：</b><span th:text="${obj.spr}"></span></td>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 10%">&nbsp;</td>
		</tr>
	</table>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        function printPage() {
            window.print();
        }
    </script>
</body>
</html>